home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-04-19 | 1.7 KB | 97 lines | [TEXT/MPS ] |
- //# Copyright: © 1993-94 by Apple Computer, Inc., all rights reserved.
- #ifndef _SHAPE_
- #define _SHAPE_
-
- #ifndef _SHAPEB_
- #include "ShapeB.idl"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODShape;
-
- //==============================================================================
- // Classes used in this interface
- //==============================================================================
-
- interface ODTransform;
- interface ODStorageUnit;
-
-
-
- //==============================================================================
- // ODShape
- //==============================================================================
-
- #ifdef _PLATFORM_MACINTOSH_
-
- interface ODShape : ODBaseShape
- {
- void InitShape();
-
- //# $$$$$ These were inline
-
- ODRgnHandle GetQDRegion();
-
- void SetQDRegion(in ODRgnHandle rgn );
-
- ODgxShape GetGXShape( );
-
- void SetGXShape(in ODgxShape s);
-
- ODRgnHandle CopyQDRegion();
-
-
- #ifdef __SOMIDL__
- implementation
- {
- override:
- somInit,
- somUninit,
- Purge,
-
- SetGeometryMode,
- GetGeometryMode,
- GetBoundingBox,
- SetRectangle,
- CopyPolygon,
- SetPolygon,
- GetPlatformShape,
- SetPlatformShape,
- WriteShape,
- ReadShape,
- IsSameAs,
- IsEmpty,
- ContainsPoint,
- IsRectangular,
- HasGeometry,
- Copy,
- CopyFrom,
- Transform,
- InverseTransform,
- Subtract,
- Intersect,
- Union;
-
- releaseorder:
- InitShape,
- GetQDRegion,
- SetQDRegion,
- GetGXShape,
- SetGXShape,
- CopyQDRegion,
- reserved1;
-
- majorversion = 1; minorversion = 0;
-
-
- };
- #endif
- };
-
- #endif //# _PLATFORM_MACINTOSH_
-
- #endif //# _SHAPE_
-